Update dependency Microsoft.Data.SqlClient to v7#32
Conversation
|
🚀 AI Library Upgrade workflow started Checkout and dependency detection in progress. You will see further updates as each step completes. |
|
📋 Detected Library Changes Relevant dependency changes were detected. Specialized scans will be initiated shortly. Direct Dependency Changes
|
|
🔬 Library scan started Scanning source branch libraries for upgrade analysis. This may take a few minutes. |
|
🚀 Library Upgrade Analysis Initiated Relevant library changes detected. Specialized scans are being initiated. 📋 Direct Dependency Changes
🔬 Scan Execution Details
|
|
✅ Specialized Scans Completed The specialized library scans have completed successfully. The next step is the comparison process and ticket creation. The system will now:
|
|
🚀 Starting comparison (diff) build... Building the diff view. Progress updates will follow. |
|
📊 Building comparison: step 17 of 17 |
|
🚀 Starting AI implementation... Beginning implementation of library upgrade changes. This may take several minutes. Workflow Status
|
AI-Generated Work Ticket Suggestions for Library Upgrades (Comparison Completed)Analysis for Comparison Job: Analysis completed. No definitive migration tickets were produced. Proceeding to attempt AI implementation based on the PR diff using the fallback path.
Documentation: https://docs.codelogic.com/Send_Build_Info/ |
…compatibility Microsoft.Data.SqlClient 7.0.0 requires System.ValueTuple >= 4.6.2, but the project was previously pinned to 4.6.1, causing a package downgrade error. This commit updates the System.ValueTuple version to 4.6.2 in Directory.Packages.props to resolve the dependency conflict and ensure compatibility with the upgraded Microsoft.Data.SqlClient library. Changes: - Updated System.ValueTuple from 4.6.1 to 4.6.2 in Directory.Packages.props - Build verified successfully with no errors - All projects in the solution restore and compile correctly Breaking changes addressed: - Microsoft.Data.SqlClient 7.0.0 has removed Azure dependencies from the core package and moved Entra ID authentication to a separate package. However, this project does not use ActiveDirectory authentication methods, so no additional packages are required. - The only compatibility issue was the System.ValueTuple version requirement.
✅ AI Library Upgrade Workflow CompleteWorkflow Status
Result: Changes Successfully Implemented✅ The AI has successfully implemented the library upgrade changes and pushed them to this PR. Summary:
Please review the changes and ensure they meet your requirements. Generated by CodeLogic AI Library Upgrade |
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
garrmark
left a comment
There was a problem hiding this comment.
add a markdown file with the details of this change
|
🚀 Starting AI implementation... Beginning implementation of library upgrade changes. This may take several minutes. Workflow Status
|
AI-Generated Work Ticket Suggestions for Library Upgrades (Comparison Completed)Analysis for Comparison Job: Analysis completed. No definitive migration tickets were produced. Proceeding to attempt AI implementation based on the PR diff using the fallback path.
Documentation: https://docs.codelogic.com/Send_Build_Info/ |
Added comprehensive upgrade notes documenting the migration from Microsoft.Data.SqlClient 6.1.4 to 7.0.0. The documentation includes: - Summary of all breaking changes in 7.0.0 - Analysis of impact on the Dapper project (minimal - no code changes) - Dependency resolution details (System.ValueTuple update) - Complete list of new features and improvements - Build verification results across all target frameworks - Migration checklist and compatibility notes - References to official release notes and documentation This documentation provides a reference for understanding the upgrade process and serves as a guide for any future library upgrades.
✅ AI Library Upgrade Workflow CompleteWorkflow Status
Result: Changes Successfully Implemented✅ The AI has successfully implemented the library upgrade changes and pushed them to this PR. Summary:
Please review the changes and ensure they meet your requirements. Generated by CodeLogic AI Library Upgrade |
garrmark
left a comment
There was a problem hiding this comment.
add a markdown file with the changes that were performed
|
🚀 Starting comparison (diff) build... Building the diff view. Progress updates will follow. |
|
📊 Building comparison: step 17 of 17 |
|
🚀 Starting AI implementation... Beginning implementation of library upgrade changes. This may take several minutes. Workflow Status
|
AI-Generated Work Ticket Suggestions for Library Upgrades (Comparison Completed)Analysis for Comparison Job: Analysis completed. No definitive migration tickets were produced. Proceeding to attempt AI implementation based on the PR diff using the fallback path.
Documentation: https://docs.codelogic.com/Send_Build_Info/ |
Created a comprehensive CHANGES file documenting all modifications performed during the upgrade from Microsoft.Data.SqlClient 6.1.4 to 7.0.0. This change log provides: - Specific file modifications with diff snippets - Complete analysis of why no code changes were required - Build verification results and commands executed - Error resolution details (System.ValueTuple dependency conflict) - Testing approach and coverage - Breaking changes assessment (zero impact on Dapper) - Dependency tree changes before/after - Verification checklist - Rollback plan if needed This complements the existing UPGRADE_NOTES file by focusing on the actual changes performed rather than comprehensive upgrade guidance.
✅ AI Library Upgrade Workflow CompleteWorkflow Status
Result: Changes Successfully Implemented✅ The AI has successfully implemented the library upgrade changes and pushed them to this PR. Summary:
Please review the changes and ensure they meet your requirements. Generated by CodeLogic AI Library Upgrade |
garrmark
left a comment
There was a problem hiding this comment.
what can you clean up around this code change?
|
🚀 Starting comparison (diff) build... Building the diff view. Progress updates will follow. |
|
📊 Building comparison: step 17 of 17 |
|
🚀 Starting AI implementation... Beginning implementation of library upgrade changes. This may take several minutes. Workflow Status
|
AI-Generated Work Ticket Suggestions for Library Upgrades (Comparison Completed)Analysis for Comparison Job: Analysis completed. No definitive migration tickets were produced. Proceeding to attempt AI implementation based on the PR diff using the fallback path.
Documentation: https://docs.codelogic.com/Send_Build_Info/ |
✅ AI Library Upgrade Workflow CompleteWorkflow Status
Result: Analysis Complete - No Changes Needed✅ The AI analysis completed successfully, but no code changes were required for this library upgrade. What was analyzed:
The library upgrade appears to be compatible with your codebase without requiring modifications. Generated by CodeLogic AI Library Upgrade |
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
This PR contains the following updates:
6.1.4→7.0.0Release Notes
dotnet/sqlclient (Microsoft.Data.SqlClient)
v7.0.0This section summarizes all changes across the 7.0 preview cycle for users upgrading from the latest 6.1 stable release.
See the full release notes for detailed descriptions.
Also released as part of this milestone:
Changed
Breaking: Removed Azure dependencies from the core package. Entra ID authentication (
ActiveDirectoryAuthenticationProviderand related types) has been extracted into a newMicrosoft.Data.SqlClient.Extensions.Azurepackage. The coreMicrosoft.Data.SqlClientpackage no longer depends onAzure.Core,Azure.Identity, or their transitive dependencies. Applications using Entra ID authentication must now installMicrosoft.Data.SqlClient.Extensions.Azureseparately.(#1108,
#3680,
#3902,
#3904,
#3908,
#3917,
#3982,
#3978,
#3986)
Two additional packages were introduced to support this separation:
Microsoft.Data.SqlClient.Extensions.Abstractions(shared types between the core driver and extensions) andMicrosoft.Data.SqlClient.Internal.Logging(shared ETW tracing infrastructure).(#3626,
#3628,
#3967,
#4038)
Deprecated
SqlAuthenticationMethod.ActiveDirectoryPassword(ROPC flow). The method is now marked[Obsolete]and will generate compiler warnings. Migrate toActiveDirectoryInteractive,ActiveDirectoryServicePrincipal,ActiveDirectoryManagedIdentity, orActiveDirectoryDefault.(#3671)
Reverted public visibility of internal interop enums (
IoControlCodeAccessandIoControlTransferType) that were accidentally made public during the project merge.(#3900)
Removed
Constrained Execution Regionerror handling blocks and associatedSqlConnectioncleanup.(#3535)
Performance improvements across SqlStatistics timing, Always Encrypted scenarios, and connection opening:
(#3609,
#3612,
#3732,
#3660,
#3791,
#3772,
#3554)
Allow
SqlBulkCopyto operate on hidden columns.(#3590)
Updated UserAgent feature to use a pipe-delimited format, replacing the previous JSON format.
(#3826)
Minor improvements to Managed SNI tracing to capture continuation events and errors.
(#3859)
Added
Added
SspiContextProviderabstract class andSqlConnection.SspiContextProviderproperty, enabling custom SSPI authentication for scenarios like cross-domain Kerberos negotiation and NTLM username/password authentication.(#2253,
#2494)
Continued refinement of packet multiplexing with bug fixes and stability improvements, plus new app context switches for opt-in control.
(#3534,
#3537,
#3605)
Added support for enhanced routing, a TDS feature that allows the server to redirect connections to a specific server and database during login, enabling Azure SQL Hyperscale read replica load balancing.
(#3641,
#3969,
#3970,
#3973)
Updated pipelines and test suites to compile the driver using the .NET 10 SDK.
(#3686)
Added
SqlConfigurableRetryFactory.BaselineTransientErrorsstatic property exposing the default transient error codes list as aReadOnlyCollection<int>.(#3903)
Added app context switch
Switch.Microsoft.Data.SqlClient.EnableMultiSubnetFailoverByDefaultto setMultiSubnetFailover=trueglobally without modifying connection strings.(#3841)
Added app context switch
Switch.Microsoft.Data.SqlClient.IgnoreServerProvidedFailoverPartnerto let the client ignore server-provided failover partner info in Basic Availability Groups.(#3625)
Enabled
SqlClientDiagnosticListenerforSqlCommandon .NET Framework, closing a long-standing observability gap where diagnostic events were previously only available on .NET Core.(#3658)
Brought the 15 strongly-typed diagnostic event classes in the
Microsoft.Data.SqlClient.Diagnosticsnamespace (e.g.,SqlClientCommandBefore,SqlClientConnectionOpenAfter,SqlClientTransactionCommitError) to .NET Framework as part of the codebase merge. These types were originally introduced for .NET Core in 6.0.(#3493)
Enabled User Agent Feature Extension (opt-in via
Switch.Microsoft.Data.SqlClient.EnableUserAgent).(#3606)
Added actionable error message when Entra ID authentication methods are used without the
Microsoft.Data.SqlClient.Extensions.Azurepackage installed.(#3962,
#4046)
Fixed
Fixed a connection performance regression where SPN generation was triggered for non-integrated authentication modes (e.g., SQL authentication) on the native SNI path.
(#3929)
Fixed
ExecuteScalarto propagate errors when the server sends data followed by an error token.(#3912)
Fixed
NullReferenceExceptioninSqlDataAdapterwhen processing batch scenarios.(#3857)
Fixed reading of multiple app context switches from a single
AppContextSwitchOverridesconfiguration field.(#3960)
Fixed an edge case in
TdsParserStateObject.TryReadPlpByteswhere zero-length reads returnednullinstead of an empty array.(#3872)
Fixed issue where extra connection deactivation was occurring.
(#3758)
Fixed debug assertion in connection pool (no impact to production code).
(#3587)
Prevented uninitialized performance counters escaping
CreatePerformanceCounters.(#3623)
Fixed
SetProviderto return immediately if user-defined authentication provider found.(#3620)
Fixed connection pool concurrency issue.
(#3632)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.